import { onHandleInput } from './input-rule/index.js'
import { richDirective } from './rich/index.js'

// 全局注册 directive
export function setupDirective (app) {
  // inout的输入校验
  app.directive('input-rule', onHandleInput)

  app.directive('rich', richDirective)
}
